#include<iostream>
#include"client.hpp"

int main()
{
    client w;
    w.openfile();
    std::string name;
    while(true)
    {
        std::cin >> name;
        w.write_s(name);
        std::cout << "client发送了一条数据" << std::endl;
    }
    w.closefile();
    return 0;
}